<script>
import version from "@/utils/version.js";
export default {
  onLaunch: async function () { 
    console.log("App Launch");
    // 检测升级
    // #ifdef APP-PLUS
    version(1, 1);
    // #endif
  },
  onShow: function () {
    console.log("App Show");
  },
  onHide: function () {
    console.log("App Hide");
  }
};
</script>

<style lang="scss">
/* 解决头条小程序组件内引入字体不生效的问题 */
/* #ifdef MP-TOUTIAO */
@font-face {
  font-family: uniicons;
  src: url("/static/uni.ttf");
}
/* #endif */

</style>
